package cn.kgc.service;

import cn.kgc.pojo.SmbmsUser;

import java.util.List;

public interface UserService {
    SmbmsUser getdenglu(String userCode, String userPassword);

    int getConut(String userName, Integer userRole);

    List<SmbmsUser> getByPage(String userName, Integer userRole, Integer currentPageNo, Integer pageSize);

    boolean addUser(SmbmsUser smbmsUser);

    SmbmsUser getId(Integer id);

    boolean updateUser(SmbmsUser smbmsUser);

    boolean delId(Integer id);

    SmbmsUser getUserCode(String userCode);
}

